package com.stox.services.screener.screen.loser;

import com.stox.services.screener.model.BaseScreenConfiguration;
import com.stox.shared.beans.annotation.Property;

public class LossScreenConfiguration extends BaseScreenConfiguration {
	
	private double lossSpan = 10;
	private boolean matchExactSpan = false;
	private boolean useHighLowValues = false;
	private double minimumLossPercentage = 10;
	
	@Property(index=2)
	public double getLossSpan() {
		return lossSpan;
	}
	public void setLossSpan(double lossSpan) {
		this.lossSpan = lossSpan;
	}
	@Property(index=0)
	public boolean isMatchExactSpan() {
		return matchExactSpan;
	}
	public void setMatchExactSpan(boolean matchExactSpan) {
		this.matchExactSpan = matchExactSpan;
	}
	@Property(index=1)
	public boolean isUseHighLowValues() {
		return useHighLowValues;
	}
	public void setUseHighLowValues(boolean useHighLowValues) {
		this.useHighLowValues = useHighLowValues;
	}
	@Property(index=3)
	public double getMinimumLossPercentage() {
		return minimumLossPercentage;
	}
	public void setMinimumLossPercentage(double minimumLossPercentage) {
		this.minimumLossPercentage = minimumLossPercentage;
	}

}
